package com.sgb.goods.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class ArrEntity {
    
    @SerializedName("name")
    public String name;
    @SerializedName("id")
    public String id;
    @SerializedName("type")
    public List<ChildType> type;
    @SerializedName("content")
    public String content;
    /**
     * 属性值是否必填
     */
    @SerializedName("isfill")
    public Integer isfill;

    public class ChildType implements IPickerViewData {
        
        @SerializedName("cname")
        public String cname;
        @SerializedName("cid")
        public String cid;
        public boolean isSelect;

        @Override
        public String getPickerViewText() {
            return cname;
        }
    }

}
